package com.geovis.emergency.spd.biz.basic.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.geovis.common.mybatis.page.PageParam;
import com.geovis.common.mybatis.page.PageResult;
import com.geovis.emergency.spd.entity.basic.entity.BasicMaterial;
import com.geovis.emergency.spd.entity.basic.pojo.dto.BasicMaterialDTO;
import com.geovis.emergency.spd.entity.basic.pojo.dto.BasicMaterialQueryDTO;
import com.geovis.emergency.spd.entity.basic.pojo.dto.BasicMaterialUploadDTO;

import java.util.Set;

/**
 * <p>
 * 基础模块-素材管理 服务类
 * </p>
 *
 * @author 王响
 * @since 2022-03-31
 */
public interface IBasicMaterialService extends IService<BasicMaterial> {


    /**
     * 分页查询
     *
     * @param pageParam
     * @return
     */
    PageResult<BasicMaterialDTO> listPage(PageParam<BasicMaterialQueryDTO> pageParam);

    /**
     * 文件上传
     *
     * @param uploadDTO
     * @return
     */
    void upload(BasicMaterialUploadDTO uploadDTO);

    /**
     * 删除
     *
     * @param idList id列表
     */
    void removeByIdList(Set<String> idList);


}
